package pers.mine.dao;

import java.util.List;
import pers.mine.po.Ordergoods;
import pers.mine.po.OrdergoodsExample;

public interface OrdergoodsMapper {
	// 通过订单号获取订单商品
	List<Ordergoods> selectByOrderId(Integer id);

	int insertSelective(Ordergoods record);

	List<Ordergoods> selectByExample(OrdergoodsExample example);

	Ordergoods selectByPrimaryKey(Integer id);

	int insertList(List<Ordergoods> ogs);

	// 获取上次limit总记录数
	long getFindRows();
	// int updateByPrimaryKeySelective(Ordergoods record);
	// int updateByPrimaryKey(Ordergoods record);
	// int deleteByPrimaryKey(Integer id);
	// int insert(Ordergoods record);
}